export default function isFunction (virtualDOM) {
    return virtualDOM && Object.prototype.toString.call(virtualDOM.type) === "[object Function]"
}